home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global MH, MV, Opt, Cnt
- set Opt to the optionDown
- set Cnt to the controlDown
- set MH to the mouseH
- set MV to the mouseV
- if (MV < 437) or (MV > 472) then
- return
- end if
- set S1 to 6
- puppetSound("Slide-In")
- updateStage()
- puppetSprite(S1, 1)
- if (MH > 59) and (MH < 128) then
- set the castNum of sprite S1 to the number of cast "Reveal.Press.On"
- set the locH of sprite S1 to 90
- set the locV of sprite S1 to 452
- else
- if (MH > 132) and (MH < 205) then
- set the castNum of sprite S1 to the number of cast "Interp.press.on"
- set the locH of sprite S1 to 169
- set the locV of sprite S1 to 453
- else
- if (MH > 209) and (MH < 281) then
- set the castNum of sprite S1 to the number of cast "voice.press.on"
- set the locH of sprite S1 to 245
- set the locV of sprite S1 to 452
- if Opt <> 1 then
- ToggleVoice()
- end if
- else
- if (MH > 285) and (MH < 358) then
- set the castNum of sprite S1 to the number of cast "sound.press.on"
- set the locH of sprite S1 to 321
- set the locV of sprite S1 to 453
- if Opt <> 1 then
- ToggleSound()
- end if
- else
- if (MH > 362) and (MH < 436) then
- set the castNum of sprite S1 to the number of cast "color.press.on"
- set the locH of sprite S1 to 397
- set the locV of sprite S1 to 454
- if Opt <> 1 then
- ToggleColour()
- end if
- else
- if (MH > 438) and (MH < 511) then
- set the castNum of sprite S1 to the number of cast "select.press.on"
- set the locH of sprite S1 to 472
- set the locV of sprite S1 to 454
- else
- if (MH > 515) and (MH < 585) then
- set the castNum of sprite S1 to the number of cast "depart.press.on"
- set the locH of sprite S1 to 551
- set the locV of sprite S1 to 453
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- updateStage()
- end
-
- on mouseUp
- global MH, MV, moviePath, CCcards, mouseUp, DivType, Opt, CardsDealt, Cnt, DemoFrame, retMovie
- set S1 to 6
- if (MV < 437) or (MV > 472) then
- return
- end if
- puppetSound("Slide-Out")
- set the locV of sprite S1 to -500
- updateStage()
- puppetSprite(S1, 0)
- puppetSprite(25, 0)
- if (MH > 59) and (MH < 128) then
- if Opt then
- keySound("BREVEAL")
- else
- reveal()
- end if
- else
- if (MH > 132) and (MH < 205) then
- if Opt then
- keySound("BINTERPR")
- else
- puppetSound("DemoUnav")
- end if
- else
- if (MH > 209) and (MH < 281) then
- if Opt then
- keySound("BVOICE")
- end if
- else
- if (MH > 285) and (MH < 358) then
- if Opt then
- keySound("BSOUND")
- end if
- else
- if (MH > 362) and (MH < 435) then
- if Opt then
- keySound("BCOLOR")
- end if
- else
- if (MH > 438) and (MH < 511) then
- if Opt then
- keySound("BSELECT")
- else
- puppetSound("DemoUnav")
- end if
- else
- if (MH > 515) and (MH < 585) then
- if Opt then
- keySound("BDEPART")
- else
- if DemoFrame = void then
- quit()
- else
- releaseSprites()
- if the controlDown then
- go("leave")
- else
- go("Bye")
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end
-